package com.longxi.tianjintianbao.ui.activity.houseinspection;

import android.widget.TextView;

import com.longxi.tianjintianbao.R;
import com.longxi.tianjintianbao.ui.base.BaseActivity;
import com.longxi.tianjintianbao.ui.presenter.houseinspection.AssetsDetailAtPresenter;
import com.longxi.tianjintianbao.ui.view.houseinspection.IAssetsDetailAtView;

import butterknife.BindView;

/**
 * Created by cxw on & 2018/10/24
 */
public class AssetsDetailsActivity extends BaseActivity<IAssetsDetailAtView, AssetsDetailAtPresenter> implements IAssetsDetailAtView {
    @BindView(R.id.tvContent)
    TextView mTvContent;

    @Override
    protected int provideContentViewId() {
        return R.layout.activity_assets_details;
    }

    @Override
    protected AssetsDetailAtPresenter createPresenter() {
        return new AssetsDetailAtPresenter(this);
    }

    @Override
    public void initView() {
        super.initView();
        mPresenter.initBar();
    }

    @Override
    public void initData() {
        super.initData();
        mPresenter.setDetail();
    }

    @Override
    public TextView getTvContent() {
        return mTvContent;
    }
}
